projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c896ea9
)
(elp-unload-hook): Remove function and variable.
author
Juanma Barranquero
<lekktu@gmail.com>
Wed, 31 Oct 2007 12:46:08 +0000
(12:46 +0000)
committer
Juanma Barranquero
<lekktu@gmail.com>
Wed, 31 Oct 2007 12:46:08 +0000
(12:46 +0000)
(elp-unload-function): New-style unload function,
adapted from `elp-unload-hook'.
lisp/emacs-lisp/elp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/elp.el
b/lisp/emacs-lisp/elp.el
index ade2a23608d3761348af050b8e9a034e900c2d3b..71231a86df9c40096f41df979d95edcc2532112d 100644
(file)
--- a/
lisp/emacs-lisp/elp.el
+++ b/
lisp/emacs-lisp/elp.el
@@
-626,9
+626,11
@@
displayed."
(and elp-reset-after-results
(elp-reset-all))))
-(defun elp-unload-hook ()
- (elp-restore-all))
-(add-hook 'elp-unload-hook 'elp-unload-hook)
+(defun elp-unload-function ()
+ "Unload the Emacs Lisp Profiler."
+ (elp-restore-all)
+ ;; continue standard unloading
+ nil)
\f
(provide 'elp)